﻿using JinfuyuanProject.Entity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Service
{
    public interface IHomeService
    {
        #region 基础方法
        IQueryable<Home> GetList();

        Home GetModel(int Id);

        bool Delete(Home student);

        int Insert(Home student);

        bool Update(Home student);
        #endregion

        #region 业务方法
        IEnumerable<T> QueryBySql<T>(string sql);
        List<HomeVM> GetRoomDetail();
        ParturientVM GetParturientVM(int id);
        List<Baby> GetBabyDetail(int id);
        List<ServiceDoVM> GetServiceDoVM(int ParturientId);
        Hashtable ProductAPI(ProductFilter filter);
        #endregion
    }
}
